/**
 * @Author yinyunqi
 * @date 2017年12月25日
 * @Content 
 */
package com.yongqi.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yongqi.mapper.MenuMapper;
import com.yongqi.model.Menu;

@Service
public class MenuService {
    @Autowired
    MenuMapper menuMapper;
    
    public List<Menu> getParentMenu() {
	return menuMapper.getParentMenu();
    }
    public List<Menu> getChildMenu() {
	return menuMapper.getChildMenu();
    }
    public List<Menu> getBackMenu(){
	return menuMapper.getBackMenu();
    }
}

